package com.pitb.citizenreporting;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class ComplaintDetails extends Activity{
	public static final String TRACK_ID  = "track_id";
	public static final String TRACK_PROBLEM  = "track_problem";
	public static final String TRACK_STATUS  = "track_status";
	TextView tTrack_id,tProblem,tStatus;
	@Override
	protected void onCreate(Bundle savedInstanceState) {		
		super.onCreate(savedInstanceState);
		setContentView(R.layout.issue_details);
		tTrack_id = (TextView)findViewById(R.id.track_id);
		tProblem = (TextView)findViewById(R.id.problem);
		tStatus = (TextView)findViewById(R.id.track_status);
		
		String id = getIntent().getStringExtra(TRACK_ID);
		String problem = getIntent().getStringExtra(TRACK_PROBLEM);
		String status = getIntent().getStringExtra(TRACK_STATUS);
		
		tTrack_id.setText(id);
		tProblem.setText(problem);
		tStatus.setText(status);
		
	}
}
